﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Chinaer.WCF.Services;

namespace Chinaer.Win
{
    public partial class ShangJiaLogin : Form
    {
        public ShangJiaLogin()
        {
            InitializeComponent();
        }

        private void btnLogin_Click(object sender, EventArgs e)
        {
            DTO.ShangJiaDTO shangJiaDto = new DTO.ShangJiaDTO()
            {
                LoginName = this.txtUserName.Text.Trim(),
                LoginPassword = this.txtPassword.Text.Trim()
            };
            DTO.ShangJiaDTO loginShangJiaDTO = ChinaerService.Instance.LoginShangJia(shangJiaDto);

        }
    }
}
